package com.ipoint.intr.smartCatalog.model.element;

import javax.persistence.Entity;

import org.hibernate.validator.NotNull;
import org.jboss.seam.annotations.Name;

@Entity
@Name("stringValue")
public class StringValue extends Value {
	@NotNull
	private String stringValue;

	public String getStringValue() {
		return stringValue;
	}

	public void setStringValue(String stringValue) {
		this.stringValue = stringValue;
	}

	@Override
	protected void toStringValues(StringBuffer result) {
		super.toStringValues(result);
		result.append(",").append("stringValue-").append(this.getStringValue());
	}

}
